package com.ruoyi.system.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.ruoyi.system.domain.ProjectTransferDetails;
import com.ruoyi.system.mapper.ProjectTransferDetailsMapper;
import com.ruoyi.system.service.ProjectTransferDetailsService;

import java.util.List;

/**
 * @author  LYY
 * @desc
 * @time 2024-04-17 16:41
 */
@Service
public class ProjectTransferDetailsServiceImpl implements ProjectTransferDetailsService{

    @Autowired
    private ProjectTransferDetailsMapper projectTransferDetailsMapper;


    /**
     * 查询项目立项详情列表
     *
     * @param projectTransferDetails 项目立项详情
     * @return 项目立项详情
     */
    @Override
    public List<ProjectTransferDetails> selectProjectTransferDetailsList(ProjectTransferDetails projectTransferDetails)
    {
        return projectTransferDetailsMapper.selectProjectTransferDetailsList(projectTransferDetails);
    }


    @Override
    public int deleteByPrimaryKey(String proId) {
        return projectTransferDetailsMapper.deleteByPrimaryKey(proId);
    }

    @Override
    public int insert(ProjectTransferDetails record) {
        return projectTransferDetailsMapper.insert(record);
    }

    @Override
    public int insertSelective(ProjectTransferDetails record) {
        return projectTransferDetailsMapper.insertSelective(record);
    }

    @Override
    public ProjectTransferDetails selectByPrimaryKey(String proId) {
        return projectTransferDetailsMapper.selectByPrimaryKey(proId);
    }

    @Override
    public int updateByPrimaryKeySelective(ProjectTransferDetails record) {
        return projectTransferDetailsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProjectTransferDetails record) {
        return projectTransferDetailsMapper.updateByPrimaryKey(record);
    }

}
